﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<ShareB.Models.PubConfModel>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ChoiceConfiguration
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>ChoiceConfiguration</h2>

    <fieldset>
            <legend>Choice Configuration</legend>
        
            <% foreach (var item in Model) 
               { %>
                <div class="editor-field">
                    <%: Html.ActionLink(item.ConfName, "CreatePublication", new { id = item.ConfID })%>
                </div>
                <%: Html.HiddenFor(model => item.ConfName)%>
                <%: Html.HiddenFor(model => item.ConfID)%>
            <% } %>

    </fieldset>

    <p></p>
    <p>
        <%: Html.ActionLink("Back to List", "Publication") %>
    </p>

</asp:Content>

